package liumengbaio.lolzhangyoubao.Activity.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import liumengbaio.lolzhangyoubao.R;

public class SelectShowPlayActivity extends AppCompatActivity {
    private TextView tv_hero_nicker_name;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_select_show_play);
        initView();
    }

    private void initView() {
        final Bundle bundle=getIntent().getExtras();
        findViewById(R.id.btn_select_publish).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent_add_play=new Intent(SelectShowPlayActivity.this,AddShowPlayActivity.class);
                intent_add_play.putExtras(bundle);
                startActivity(intent_add_play);
            }
        });
        findViewById(R.id.edit_head_left_title).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        tv_hero_nicker_name= (TextView) findViewById(R.id.tv_hero_nicker_name);
        tv_hero_nicker_name.setText(bundle.getString("nicker_name"));
    }
}
